//SamXIAO
#include <bits/stdc++.h>
using namespace std;

void w1()
{
	int a=0, b=0, ans;
	char op2[100], op;
	scanf("%d%[ +-*/%]%d", &a, &op2, &b);
	for(int i = 0; i < strlen(op2); i++)
		if((op = op2[i]) != ' ') break;
	
	if('+' == op) ans = a + b;
	if('-' == op) ans = a - b;
	if('*' == op) ans = a * b;
	if('/' == op) ans = a / b;
	if('%' == op) ans = a % b;
	printf("%d", ans);
}

int main()
{
	w1();
  return 0;
}
